#ifndef ADVENTURE_CARD_AREA_H
#define ADVENTURE_CARD_AREA_H

#include <qwidget.h>
#include <vector>
#include <iostream>
#include <QHBoxLayout>
#include <qlabel.h>

using namespace std;

// Forward declarations
class AdventureCard;

class AdventureCardArea : public QWidget
{
public:
	AdventureCardArea(QWidget *parent = 0);
	virtual ~AdventureCardArea();
	void load(string iFileName);

	virtual void nextCard(void);
	virtual void restart(void);
	virtual AdventureCard *getActiveAdventureCard(void) const;

protected:
	void mousePressEvent(QMouseEvent *event) override;
	void positionCards(void);
private:
	vector<AdventureCard *> * mFaceUpStack;
	vector<AdventureCard *> * mFaceDownStack;
	QHBoxLayout *layout;
	QLabel clickToLoad;
};

#endif